import axios from '@/libs/request/axios'

//多条件查询付款清单
export const queryPayRecordList = (params) => {
    return axios.request({
        url: `/contractBasic/pay/queryPayRecordList`,
        params: params,
        method: 'post'
    })
}
//多条件查询付款清单
export const exportPayList = (params) => {
    return axios.request({
        url: `/contractBasic/pay/exportPayList`,
        params: params,
        method: 'post'
    })
}
//发送扣款指令
export const sendPayOrderForIds = (params) => {
    return axios.request({
        url: `/contractBasic/pay/sendPayOrderForIds`,
        params: params,
        method: 'post'
    })
}
//解决付款异常
export const handleExceptionForIds = (params) => {
    return axios.request({
        url: `/contractBasic/pay/handleExceptionForIds`,
        params: params,
        method: 'post'
    })
}
//发送修改收款账号邮件
export const sendMsgToAdmin = (params) => {
    return axios.request({
        url: `/contractBasic/pay/sendMsgToAdmin`,
        params: params,
        method: 'post'
    })
}
//更新收款账号信息
export const updateReceiptAccount = (params) => {
    return axios.request({
        url: `/contractBasic/pay/updateReceiptAccount`,
        params: params,
        method: 'post'
    })
}
//查询付款结果
export const queryPayResultForIds = (params) => {
    return axios.request({
        url: `/contractBasic/pay/queryPayResultForIds`,
        params: params,
        method: 'post'
    })
}
//暂停付款(后端进行条件校验）
export const stopPayForIds = (params) => {
    return axios.request({
        url: `/contractBasic/pay/stopPayForIds`,
        params: params,
        method: 'post'
    })
}
//取消暂停付款（后端进行条件校验）
export const cancelStopPayForIds = (params) => {
    return axios.request({
        url: `/contractBasic/pay/cancelStopPayForIds`,
        params: params,
        method: 'post'
    })
}
